package sortingRMI_client;

import static org.junit.Assert.*;
import static org.junit.Assert.assertTrue;

import java.rmi.RemoteException;

import org.junit.Before;
import org.junit.Test;

public class TestMuziekCD {
	
	// test setters / getters
	@Test
	public void testMuzieCDgetInfo() {
		String artist = "myartist";
		String title = "mytitle";
		int year = 2012;
	
		MuziekCD m = new MuziekCD();
		
		m.setArtist(artist);
		m.setTitle(title);
		m.setYear(year);
		
		// System.out.println(m.getArtist()+ " " + m.getTitle()+ " " + m.getYear());
		assertTrue(m.getArtist().equals("myartist"));
		assertTrue(m.getTitle().equals("mytitle"));
		assertTrue(m.getYear() == 2012);
	}


}
